﻿using A.M.Storage.Application;
using Q.M.Finance.Application.IServices;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.IRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.Services
{
    public class Income_typeServices : BaseServices<income_type, string>, IIncome_typeServices
    {
        private readonly IIncome_typeRepository income_TypeRepository;
        public Income_typeServices(IIncome_typeRepository income_TypeRepository) : base(income_TypeRepository)
        {
            this.income_TypeRepository = income_TypeRepository;
        }
        /// <summary>
        /// 显示收入类型表
        /// </summary>
        /// <returns></returns>
        public List<income_type> GetIncome_Types()
        {
            return income_TypeRepository.GetShowInfor().ToList();
        }
    }
}
